package Client;



import java.io.Serializable;

/**
 * client details save the user details, for communication and sending messages
 * @author liel && guy
 *
 */
public class ClientDetails implements Serializable{
	private static final long serialVersionUID = 1L;
	String userName;
	String password;
	String mainFolder;
	String email;

	/**
	 * constructor of client details
	 * @param userName - the user name of the client
	 * @param password - the password of the client
	 * @param mainFolder - the main folder of the client, the folder of the drop box installation
	 * @param email - the email of the client
	 */
	public ClientDetails(String userName, String password, String mainFolder, String email) {
		super();
		System.out.println("client details: "+userName+" "+password +" "+mainFolder + " "+email);
		this.email = email;
		this.userName = userName;
		this.password = password;
		this.mainFolder = mainFolder;
	}
	/**
	 * get the client's user name
	 * @return client's user name
	 */
	public String getUserName() {
		return userName;
	}
	/**
	 * get the client password
	 * @return the client password
	 */
	public String getPassword() {
		return password;
	}
	/**
	 * get the client main folder
	 * @return the client main folder
	 */
	public String getMainFolder() {
		return mainFolder;
	}
	/**
	 * get the user Email
	 */
	public String getEmail() {
		return email;
	}



}
